<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>新浪微博用户粉丝和关注数分布图</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="a5535e92b29d4143bb61db62997d6a7e" style="width:100%; height:600px;"></div>
    <script>
        var chart_a5535e92b29d4143bb61db62997d6a7e = echarts.init(
            document.getElementById('a5535e92b29d4143bb61db62997d6a7e'), 'white', {renderer: 'canvas'});
        var option_a5535e92b29d4143bb61db62997d6a7e = {
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "pie",
            "name": "\u7528\u6237\u7c89\u4e1d\u7edf\u8ba1",
            "clockwise": true,
            "data": [
                {
                    "name": "[0,20)",
                    "value": 7075
                },
                {
                    "name": "[20,200)",
                    "value": 17389
                },
                {
                    "name": "[200,1000)",
                    "value": 7079
                },
                {
                    "name": "[1000,1w)",
                    "value": 4491
                },
                {
                    "name": "[1w,10w)",
                    "value": 4643
                },
                {
                    "name": "[10w,100w)",
                    "value": 4447
                },
                {
                    "name": "[100w,1000w)",
                    "value": 2786
                },
                {
                    "name": "1000w+",
                    "value": 182
                }
            ],
            "radius": [
                "10%",
                "30%"
            ],
            "center": [
                "20%",
                "50%"
            ],
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}\uff1a{c}\uff08{d} %\uff09"
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        },
        {
            "type": "pie",
            "name": "\u7528\u6237\u5173\u6ce8\u7edf\u8ba1",
            "clockwise": true,
            "data": [
                {
                    "name": "[0,20)",
                    "value": 2304
                },
                {
                    "name": "[20,200)",
                    "value": 18996
                },
                {
                    "name": "[200,1000)",
                    "value": 17122
                },
                {
                    "name": "[1000,1w)",
                    "value": 9433
                },
                {
                    "name": "1w+",
                    "value": 166
                }
            ],
            "radius": [
                "10%",
                "30%"
            ],
            "center": [
                "60%",
                "50%"
            ],
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}\uff1a{c}\uff08{d} %\uff09"
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "[0,20)",
                "[20,200)",
                "[200,1000)",
                "[1000,1w)",
                "[1w,10w)",
                "[10w,100w)",
                "[100w,1000w)",
                "1000w+",
                "1w+"
            ],
            "selected": {},
            "type": "scroll",
            "show": true,
            "right": "5%",
            "bottom": "30%",
            "orient": "vertical"
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u7c89\u4e1d\u548c\u5173\u6ce8\u6570\u5206\u5e03\u56fe"
        }
    ],
    "toolbox": {
        "show": true,
        "orient": "horizontal",
        "itemSize": 15,
        "itemGap": 10,
        "left": "80%",
        "feature": {
            "saveAsImage": {
                "show": true,
                "title": "save as image",
                "type": "png"
            },
            "restore": {
                "show": true,
                "title": "restore"
            },
            "dataView": {
                "show": true,
                "title": "data view",
                "readOnly": false
            },
            "dataZoom": {
                "show": true,
                "title": {
                    "zoom": "data zoom",
                    "back": "data zoom restore"
                }
            }
        }
    }
};
        chart_a5535e92b29d4143bb61db62997d6a7e.setOption(option_a5535e92b29d4143bb61db62997d6a7e);
    </script>
</body>
</html>
